package jvm.jtacck.serials;

import java.io.Serializable;

/**
 * @author Jesse Jeng
 * 
 *      The LoginInfo class wraps two values of the type String in an object.
 *      
 *      An object of type LoginInfo contains two fields whose types are String.
 *      
 */
public class LoginInfo implements Serializable {

    /**
     * serialVersionUID for the class
     */
    private static final long serialVersionUID = 2981582439185436774L;

    /**
     * Login information for a courier - username
     */
    public final String username;
    
    /**
     * Login information for a courier - password
     */
    public final String password;
    
    /**
     * Constructs a newly allocated LoginInfo object that represents the
     * specified login information
     * 
     * @param username
     *      The username to be contained in an LoginInfo. 
     *      
     * @param password
     *      The password to be contained in an LoginInfo. 
     */
    public LoginInfo(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
